
if ( SERVER ) then

	AddCSLuaFile( "shared.lua" )
	AddCSLuaFile( "cl_init.lua" )
	SWEP.HoldType = "pistol"
	
end

if ( CLIENT ) then

	SWEP.PrintName			= "casull454"			
	SWEP.Author				= "Ratchet"
	SWEP.Slot				= 1
	SWEP.SlotPos			= 3
	SWEP.IconLetter			= "k"
	SWEP.ViewModelFOV      = 65
	SWEP.ViewModelFlip		= true

	surface.CreateFont( "weapon_awp", ScreenScale( 30 ), 500, true, true, "CSKillIcons" )
	surface.CreateFont( "weapon_awp", ScreenScale( 60 ), 500, true, true, "CSSelectIcons" )
end

SWEP.Base				= "weapon_cs_base"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= true

SWEP.ViewModelFlip	    = true
SWEP.ViewModel			= "models/weapons/v_pist_casull.mdl"
SWEP.WorldModel			= "models/weapons/w_pist_casull.mdl"

SWEP.Weight				= 5
SWEP.AutoSwitchTo		= true
SWEP.AutoSwitchFrom		= true
SWEP.DrawCrosshair		= true

SWEP.Primary.Sound			= Sound( "weapons/casull454/fire1.wav" )
SWEP.Primary.Recoil			= 0.5
SWEP.Primary.Damage			= 50
SWEP.Primary.NumShots		= 1
SWEP.Primary.Cone			= 0.015
SWEP.Primary.ClipSize		= 12
SWEP.Primary.Delay			= 0.5
SWEP.Primary.DefaultClip	= 8
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "357"
SWEP.Primary.ReloadSound	= Sound( "weapons/sniper/sniper_reload.wav" )

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

SWEP.IronSightsPos = Vector (3.1082, -2.8974, 1.5273)
SWEP.IronSightsAng = Vector (0.0175, -0.0545, -0.1003)

